/*
 * Test_SmartDashboard.cpp
 *
 *  Created on: Apr 10, 2012
 *      Author: trwulff
 */

#include "WPILib.h"
#include "Joysticks.hpp"

#define WAITTIME 0.005
class RobotDemo : public SimpleRobot
{
	XBox360 stick; // only joystick

public:
	RobotDemo(void):
		stick(1)		// as they are declared above.
	{
	}

	void Autonomous(void)
	{
	}

	void OperatorControl(void)
	{

		while (IsOperatorControl())
		{
			
			

			Wait(WAITTIME);				// wait for a motor update time
		}
	}
};

START_ROBOT_CLASS(RobotDemo);
